package com.keda;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//这是gateway这个项目的启动类
@SpringBootApplication
//开启服务对提供者或者消费者客户端的支持，用来注册服务或者连接到注册中心
@EnableDiscoveryClient
public class GatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class);
    }

}
